/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package mp.weixin.WXpublic.receive.event;

import mp.weixin.WXpublic.BaseEvent;


/**
 *
 * @author 王仲秋
 */
public class ScanEventEntity extends BaseEvent {

    private String ticket;
    
    private String eventKey;

    @Override
    public EventEnum getEvent() {
        return EventEnum.SCAN;
    }
    /**
     * 二维码的ticket，可用来换取二维码图片 
     * @return
     */
    public String getTicket() {
        return ticket;
    }

    public void setTicket(String Ticket) {
        this.ticket = Ticket;
    }
    /**
     * 事件类型
     * @return
     */
    public String getEventKey() {
        return eventKey;
    }

    public void setEventKey(String eventKey) {
        this.eventKey = eventKey;
    }

    @Override
    public String toString() {
        return "ScanEventEntity{" + "ticket=" + ticket + ", eventKey=" + eventKey + '}';
    }

}
